Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / Application-Defined Functions
/


MyFetchCompleted

Executes after an attempt to retrieve HTML data using the JMNewAppletLocator function. This is how you would define your output function if you were to name it MyFetchCompleted:

void MyFetchCompleted (
                     JMAppletLocatorRef ref, 
                     JMLocatorErrors status);
ref
The newly created applet locator.
status
The status of the HTML data retrieval. See "Applet Locator Status Values" for a listing of values that JMNewAppletLocator may pass in this parameter.
DISCUSSION
When calling JMNewAppletLocator, you must designate this function in the applet locator callbacks structure. The actions taken by the completion function depend on the status value it receives from JMNewAppletLocator. For example, if the HTML text is retrieved successfully, the function can then proceed to instantiate an applet associated with the HTML page.

SEE ALSO
The JMNewAppletLocator function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997